package edu.ucsc.gameAI.conditions;

import edu.ucsc.gameAI.ICondition;
import pacman.game.Game;

public class NumberOfLivesRemaining implements ICondition{
	int livesRemaining;

	public NumberOfLivesRemaining(int i) {
		livesRemaining = i;
	}

	public boolean test(Game game) {
		return game.getPacmanNumberOfLivesRemaining() == livesRemaining;
	}

}
